import type { RequestConfig, TMethod } from './http'
import type { JsonpOptions } from './sendJsonp'

// 请求参数
export type TRequestConfig = Pick<RequestConfig, 'params' | 'data' | 'headers'> & {
  appid: string
  functionId: string
  method?: TMethod
  jsonp?: boolean
  jsonpOptions?: JsonpOptions
}
